| 1. | Implementing the file table viewer content provider 实现文件表查看器内容提供程序 |
| 2. | Let s look at the table viewer first 让我们先看看表查看器。 |
| 3. | So now we have two viewers : the tree viewer and the table viewer 因此我们现在有两个查看器:树查看器和表查看器。 |
| 4. | It is starting to look quite colorful - at least in the table viewer 程序开始变得十分漂亮了至少在表查看器中是这样。 |
| 5. | Using a table viewer 使用表查看器 |
| 6. | Let s just implement the category in the table viewer as shown in listing 6 我们在表查看器中只实现category方法,如清单6所示: |
| 7. | The next thing we need to do is to make the table viewer look at each folder that the user selects in the tree viewer 接下来要做的是使表查看器查看用户在树查看器中选中的每个文件夹。 |
| 8. | Method , we will need to get hold of the object that has just been selected and make this the input for the table viewer 方法中,我们将需要获得刚选中的对象,并使其成为表查看器的输入。 |
| 9. | When you select a folder in the leftmost pane , the files that it contains are shown in a table viewer in the rightmost pane 当在左边窗格中选中某个文件夹时,它所包含的文件就显示在最右边窗格的表查看器中。 |